package dk.beans;


import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;

public class Menu {
int id;
public Menu() {
	super();
}
public Menu(int id, int pid, String menuname, String path, List<Menu> children) {
	super();
	this.id = id;
	this.pid = pid;
	Menuname = menuname;
	this.path = path;
	this.children = children;
}
@Override
public String toString() {
	return "Menu [id=" + id + ", pid=" + pid + ", Menuname=" + Menuname + ", path=" + path + ", children=" + children
			+ "]";
}
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public int getPid() {
	return pid;
}
public void setPid(int pid) {
	this.pid = pid;
}
public String getMenuname() {
	return Menuname;
}
public void setMenuname(String menuname) {
	Menuname = menuname;
}
public String getPath() {
	return path;
}
public void setPath(String path) {
	this.path = path;
}
public List<Menu> getChildren() {
	return children;
}
public void setChildren(List<Menu> children) {
	this.children = children;
}
int pid;
String Menuname;
String path;
@TableField(exist = false)
List<Menu> children;
}
